import request from '@/utils/request'

// 查询养殖桶模板列表
export function listSysModelTanks(query) {
  return request({
    url: '/SysModel/SysModelTanks/list',
    method: 'get',
    params: query
  })
}

// 查询养殖桶模板详细
export function getSysModelTanks(id) {
  return request({
    url: '/SysModel/SysModelTanks/' + id,
    method: 'get'
  })
}

// 新增养殖桶模板
export function addSysModelTanks(data) {
  return request({
    url: '/SysModel/SysModelTanks',
    method: 'post',
    data: data
  })
}

// 修改养殖桶模板
export function updateSysModelTanks(data) {
  return request({
    url: '/SysModel/SysModelTanks',
    method: 'put',
    data: data
  })
}

// 删除养殖桶模板
export function delSysModelTanks(id) {
  return request({
    url: '/SysModel/SysModelTanks/' + id,
    method: 'delete'
  })
}
